package com.example.gulimall.seckill.service;

import com.example.gulimall.seckill.to.SecKillRedisTo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SecKillService {
    void uploadSeckillSkuLatest3Days();

    List<SecKillRedisTo> getCurrentSeckillSkus();

    SecKillRedisTo getSkukillInfo(Long skuId);

    String kill(String killId, String key, Integer num) throws InterruptedException;
}
